/* @(#)GSBusOrderCancelOfWorkingVO.java    V0.1
 *
 * Project: GSdevelop
 *
 * Modify Information:
 * =============================================================================
 *   Author       Date       Description
 *   ------------ ---------- ---------------------------------------------------
 *   owen         2006-3-17
 *
 * Copyright Notice:
 * =============================================================================
 *    Copyright (c) 2001-2006 Beijing HiTRUST Technology Co., Ltd. 1808 Room, 
 *        Science & Technology Building, No. 9 South Street, Zhong Guan Cun, 
 *        Haidian District, Beijing ,100081, China All rights reserved.
 *
 *    This software is the confidential and proprietary information of
 *        Beijing HiTRUST Technology Co., Ltd. ("Confidential Information").
 *        You shall not disclose such Confidential Information and shall use it
 *        only in accordance with the terms of the license agreement you entered
 *        into with HiTRUST.
 *
 * Warning:
 * =============================================================================
 * 
 */
package com.hitrust.gs.vo;

import java.sql.ResultSet;
import java.sql.SQLException;

import com.hitrust.gs.service.GSBaseBean;

/**
 * 
 */
public class GSBusOrderCancelOfWorkingVO implements GSBaseBean{
    public String orderid;
    public String orderStatus;      //订单状态
    public String manufactureId;    //产品编码
    public String orderDeptId;      //订货单位
    public String orderDeptName;    //订货单位名称
    public String manufactureName;  //产品名称
    public double manufacutreUnitPrice;
    public double orderCount;
    public String quantUnit;
    public String concentricityId;
    public String deliverGoodsAddrId;
    public String deliverGoodsAddr;
    public String orderCreateDateStr;
    public String orderCreateDateEnd;
    public String orderCreateDate;
    public String manufInfo;
    public String deliverMode;
    public String balanceMode;
    public String manufSpec;
    public String manufType;
    public String manufBrand; 
    public String creater;
    public String contactName;
    public String contactPhone;
    public String notes;
    public String orderdetailid;
    public String orderdetailStatus;
    public String istradeflat;
    public String providerid;
    public String confirmdate;
    public String confirmtime;
    public String providername;
    public String provideristradeflat;
    public String mode;
    
    /* (non-Javadoc)
     * @see com.hitrust.gs.service.GSBaseBean#process(java.sql.ResultSet)
     */
    public Object process(ResultSet aResultSet) throws SQLException {
        GSBusOrderCancelOfWorkingVO tGSOrderVO = new GSBusOrderCancelOfWorkingVO();
        tGSOrderVO.orderid = aResultSet.getString("P1").trim();
        tGSOrderVO.orderCreateDate = aResultSet.getString("P2");
        tGSOrderVO.orderStatus = aResultSet.getString("P3").trim();
        tGSOrderVO.manufactureName = aResultSet.getString("P4").trim();
        tGSOrderVO.orderCount = aResultSet.getDouble("P5");
        tGSOrderVO.orderDeptId = aResultSet.getString("P6");
        tGSOrderVO.orderDeptName = aResultSet.getString("P7");
        tGSOrderVO.creater = aResultSet.getString("P8");
        tGSOrderVO.concentricityId = aResultSet.getString("P9");
        tGSOrderVO.deliverMode = aResultSet.getString("P10") == null? "":aResultSet.getString("P10");
        tGSOrderVO.balanceMode = aResultSet.getString("P11") == null? "":aResultSet.getString("P11");
        tGSOrderVO.manufSpec = aResultSet.getString("P12") == null? "":aResultSet.getString("P12");
        tGSOrderVO.manufType = aResultSet.getString("P13") == null? "":aResultSet.getString("P13");
        tGSOrderVO.manufBrand = aResultSet.getString("P14") == null? "":aResultSet.getString("P14");
        tGSOrderVO.quantUnit = aResultSet.getString("P15") == null? "" :aResultSet.getString("P15");
        tGSOrderVO.deliverGoodsAddr = aResultSet.getString("P16");
        tGSOrderVO.contactName = aResultSet.getString("P17") == null? "" : aResultSet.getString("P17");
        tGSOrderVO.contactPhone = aResultSet.getString("P18") == null? "" : aResultSet.getString("P18");
        tGSOrderVO.orderdetailid = aResultSet.getString("P19") == null? "" : aResultSet.getString("P19");
        tGSOrderVO.orderdetailStatus = aResultSet.getString("P20") == null? "" : aResultSet.getString("P20").trim();
        tGSOrderVO.istradeflat = aResultSet.getString("P21") == null? "" : aResultSet.getString("P21").trim();
        tGSOrderVO.providername = aResultSet.getString("P22") == null? "" : aResultSet.getString("P22").trim();
        tGSOrderVO.confirmdate = aResultSet.getString("P23") == null? "" : aResultSet.getString("P23").trim();
        tGSOrderVO.confirmtime = aResultSet.getString("P24") == null? "" : aResultSet.getString("P24").trim();
        tGSOrderVO.manufacutreUnitPrice = aResultSet.getDouble("P25");
        tGSOrderVO.providerid = aResultSet.getString("P26") == null? "" : aResultSet.getString("P26").trim();
        tGSOrderVO.provideristradeflat = aResultSet.getString("P27") == null? "" : aResultSet.getString("P27").trim();
        tGSOrderVO.mode = aResultSet.getString("P28") == null? "" : aResultSet.getString("P28").trim();
        return tGSOrderVO;
    }

}
